/**
 * Created by huanghe on 2017/5/17.
 */
import {trigger, state, style, transition, animate, keyframes} from '@angular/animations';

export const manage_menu = trigger('manage_menu', [
    state('on', style({
        width: '200px'
    })), /*开*/
    state('off', style({
        width: '0px'
    })), /*关*/
    transition('on => off', animate('500ms')),
    transition('off => on', animate('500ms'))
]);
